package com.sudoku.manager.daoImp;

import java.util.ArrayList;
import java.util.List;


import com.common.dao.BaseDaoImp;
import com.pojo.Sudokuer;
import com.sudoku.manager.ManagerDao;

public class ManagerDaoImp extends BaseDaoImp implements ManagerDao {

	
	@SuppressWarnings("unchecked")
	public List<Sudokuer> findAllRegister() {
		
		List<Sudokuer> allRegister = new ArrayList<Sudokuer>();
		allRegister = (ArrayList<Sudokuer>)smct.queryForList("findAllRegister");
		
		logger.debug("There are "+allRegister.size()+" registers");
		return allRegister;
	}

}
